package com.egao.common.module.student.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.egao.common.module.system.entity.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author lym
 * @date 2022/5/17 11:26
 */
@ApiModel(description = "学生基层就业登记")
@TableName("student_basic")
@Data
public class StudentBasic {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("毕业年份")
    private Integer yearId;

    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("中国银行卡号")
    private String bankCarkNumber;

    @ApiModelProperty("开户行")
    private String bankOfDeposit;

    @ApiModelProperty("基层服务类型")
    private String basicServiceType;

    @ApiModelProperty("签约单位")
    private String contractingUnit;

    @ApiModelProperty("单位电话")
    private String unitTelephone;

    @ApiModelProperty("单位地址")
    private String unitAddress;

    @ApiModelProperty("学院意见")
    private String collegeOpinion;

    @ApiModelProperty("学校意见")
    private String schoolOpinion;

    @ApiModelProperty("审批状态")
    private String state;

    @ApiModelProperty("审批意见")
    private String stateContent;

    @ApiModelProperty("图片地址")
    private String materialsImage;

    @ApiModelProperty("学号")
    @TableField(exist = false)
    private String xh;

    @ApiModelProperty("姓名")
    @TableField(exist = false)
    private String xm;

    @ApiModelProperty("学院")
    @TableField(exist = false)
    private String collegeName;

    @ApiModelProperty("专业")
    @TableField(exist = false)
    private String majorName;

    @ApiModelProperty("联系电话")
    @TableField(exist = false)
    private String phoneNumber;

    @ApiModelProperty(value = "电子邮箱")
    @TableField(exist = false)
    private String email;

    @ApiModelProperty(value = "QQ号码")
    @TableField(exist = false)
    private String qqNumber;

    @ApiModelProperty("就业类型字典")
    @TableField(exist = false)
    private List<Dict> approvalDictList;

    @ApiModelProperty("院方编号")
    @TableField(exist = false)
    private Integer collegeCode;

    @ApiModelProperty("基层服务类型名称")
    @TableField(exist = false)
    private String basicServiceTypeName;

    @ApiModelProperty("图片预览地址")
    @TableField(exist = false)
    private String materialsImagePreview;

}
